package cn.htu.edu.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * .@Description:
 * .@Author:dakai
 * .@Date:2022/1/6 11:23.
 */
public class LogTest {
    private static final Logger logger = LogManager.getLogger("日志初尝试");

    public static void main(String[] args) {
        if (logger.isDebugEnabled()) {
            logger.info("hello world!");
        }
    }
}
